<div class="container bg " id="sixth" >
    <nav class="navbar  navbar-form  " role="navigation">
        <div class="nav-header">Windows7 安装</div>   
    </nav>
    <div><h2>正在安装Windows</h2></div>
    <p>目前我们只需要这些信息。安装过程中可能重启数次。</p>
    <div style="margin-top: 30px;margin-bottom: 50px; margin-left: 20px;">
        <table>
            <tr>
                <td >              
                    <span id="install-logo-1" class="shownone"><img src="<?php echo Yii::app()->BaseUrl; ?>/images/d.png" />
                    </span>
                    <span id="install-1" class="gray">复制Windows文件</span>

                </td>
            </tr>

            <tr>
                <td>
                    <span id="install-logo-2"  class="shownone">
                        <img src="<?php echo Yii::app()->BaseUrl; ?>/images/d.png" />
                    </span>
                    <span id="install-2" class="gray">展开我Windows文件</span>
                </td>
            </tr>

            <tr>
                <td>
                <span id="install-logo-3"  class="shownone">
                    <img src="<?php echo Yii::app()->BaseUrl; ?>/images/d.png" />
                </span>
            <span id="install-3" class="gray"> 安装功能</span>
                </td>
            </tr>

            <tr>
                <td>
                <span id="install-logo-4"  class="shownone">
                    <img src="<?php echo Yii::app()->BaseUrl; ?>/images/d.png" />
                </span>
                    <span  id="install-4" class="gray"> 安装更新</span>
                </td>
            </tr>

            <tr>
                <td>
                <span id="install-logo-5" class="shownone">
                    <img src="<?php echo Yii::app()->BaseUrl; ?>/images/d.png" />
                </span>
                    <span id="install-5" class="gray"> 完成安装</span>
                </td>
            </tr>
        </table>
    </div>

    <button id="sixth-to-seventh" class="btn offset6" disabled>完成</button> 
    <div class="container">

        <div class="row" >

            <div  class=" span3  inline bor-right ">
                <div class="progress ">
                    <div class="bar bar-success" style="width: 100%;">
                        <span>100%</span>
                    </div>
                </div>
                <h1 class="show-inline-block">1</h1>收集信息
            </div>
            <div  class=" span9 margin-padding-zero" >
                <div class="progress ">
                    <div class="bar bar-success" style="width: 60%;">

                    </div>
                </div>
                <h1 class="show-inline-block">2</h1>
                安装Windows</div>
        </div>
    </div>
</div>  
<script>
    $(document).ready(function () {
        $("#sixth-to-seventh").click(function () {
            $('#begin').load('<?php echo Yii::app()->BaseUrl; ?>/index.php?r=win7/seventh');
        });

    });
    setTimeout("finish()", 6000);
    setTimeout("t()", 1000);
    function finish() {
        $("#sixth-to-seventh").removeAttr("disabled");
    }

    function t() {
        active(0);
    }

    function active(i)
    {
        if (i == 6)
            return;
        var j;
        for (j = 0; j < 6; j++)
        {
            $("#install-" + j).attr("class", "gray");
        }
        $("#install-" + i).attr("class", "black");
        $("#install-logo-" + i).attr("class", "showorigin");
        setTimeout("active(" + (i + 1) + ")", 1000);
    }

</script>